import glob
import os
from pathlib import Path

FILE = Path(__file__).resolve()
ROOT = FILE.parents[1]  # yolov5 strongsort root directory
project = ROOT / "runs/track/*.mp4"


def clear_mp4():
    print(project)
    fs = glob.glob(str(project))
    for f in fs:
        os.remove(f)


if __name__ == '__main__':
    clear_mp4()
